
from enum import Enum, auto


class AssetsEnum(Enum):
    PENDING = auto()        # 待处理
    ARCHIVED = auto()       # 已存档
    DEPLOYABLE = auto()     # 可分配
    UNDEPLOYABLE = auto()   # 不可分配

    def __str__(self):
        return self.name.lower()  # 将枚举值转换为小写字母


class AssignedTypeEnum(Enum):
    USER = auto()        # 用户
    ASSET = auto()       # 资产
    LOCATION = auto()    # 位置

    def __str__(self):
        return self.name.lower()  # 将枚举值转换为小写字母
